Rotary valves aren't that expensive online. Looks like you had something seize your rotary valve and it probably just sheared off the brass gear inside. If you pull it out, you should be able to flush all the crap out of there and get away with just putting in a new rotary shaft. I'm not sure how bad your RV case surface is, looked like you had a few nicks on it. You MIGHT get away with that. Also, It looked to me like your RV ports were elongated. Is that how the 787's are, or was your motor ported?