Selective Pressures on RNA Hairpins In Vivo and In Vitro