Further locking optimizations for the retrieval of non-singleton beans

Issue: SPR-12250
(cherry picked from commit ac4103d)
Provider declaration for @Value method argument works again

Issue: SPR-12297
(cherry picked from commit c672678)
Consistent reset of resource holders on doBegin failure

Issue: SPR-12280
(cherry picked from commit 9758bc7)