Bochum clinched a thriller to secure a famous win against a Bayern side who slipped eight points behind Bayer Leverkusen in the Bundesliga title race.