this is what happens when you change things and is why you put your rifle together how you want it then find a load...ESPECIALLY with a factory rifle...this is a simple thing to fix unless you make it hard!
the trigger hitting the stock is a possibility but i think youda noticed this when you put the gun back together...or at least id hope you would.
now when the gun was shooting these great groups how many rounds where though the barrel?
is this the first time you have cleaned the barrel? and how well did you actually clean the barrel?
how many rounds did you shoot after the cleaning before you determined the groups were bad?
is everything the same? bullets,primers,powder all same lot as before?
these little screws near the barrel nut...did you change them at all?
when you put the gun back together did you make sure the recoil lug was seated properly and the action screws were not binding?
i could go on with the questions but i think you get the idea of just a small part of what can effect how a rifle shoots.
now my suggestion to you is to keep this simple...you say your ESs and SDs are good and i agree if they are in fact 7 and 19.
question about the load...when you found the original load did you take the best grouping load? the load with the best numbers and tune it with seating? if best group was the groups on either side of the best group pretty good? if best numbers were the numbers on either side pretty good? i ask because its possible your load was right on the edge and was actually not a good load.
simple fix...do what
@hafejd30 said and make sure the barrel is fouled like it was(or close to)when it shot good...go back through and check/torque everything....put the brake and trigger on that you are going to use...load up some rounds that produce the 7 and 19 and do a seating test and when you find a new load leave the gun alone...seating test tip...get a lee hand press seat all bullets long at home and do your seating test in the field...shoot 2 rounds and if they are not touching(or very close)move on....and dont be afraid to jump the bullets....i start at .070 off the lands.
lastly...and this is not meant as bragging or anything its just to get a point across....i have shot out over 30 barrels in 17ish years and still can not go out and shoot 1 hole groups every time i shoot...in 17yrs of doing this ive met one guy that can shoot 1 hole groups 99% of the time so just be sure YOU are not part of the problem...the first few years for me i use to love blaming the gun and chased my tail pretty much the entire time.