Defence ministry says weapons were targeting maritime traffic but fell into the sea