Gomes ends Locastro's steal streak, homers, Nats top D'backs