Buy these software stocks as the industry’s ‘roller coaster ride’ nears a bottom, Bernstein says