Bohemians came out on top in a fierce Dublin Derby to book their place in the Extra.ie FAI Cup Quarter Finals.