Beckett returns with 9 Ks, Boston beats Mariners