When applied to an equational theorem, RIGHT_PBETA applies paired
beta-reduction at top level to the right-hand side (only).
Variables are renamed if necessary to avoid free variable capture.
A |- s = (\p. t1) t2
---------------------- RIGHT_PBETA
A |- s = t1[t2/p]