Merge pull request #2811 from RosettaCommons/roccomoretti/fix_pose_rts_patching
Fix behavior of PoseResidueTypeSet w/r/t patching
Because of the way the base type generate_residue_type_write_locked() was implemented, the previous version of PoseResidueTypeSet actually re-patched types, such that the ResidueType object of, say, GLU:NtermProteinFull is a different object when pulled from PoseResidueTypeSet versus from the associated GlobalResidueTypeSet (they're functionally equivalent, they're just two different objects). To increase efficiency, this PR changes the PoseResidueTypeSet::generate_residue_type_write_locked() such that it will better defer patching to the associated GlobalResidueTypeSet.