Modular form congruences and Selmer groups