South Korea’s defense ministry said North Korea violated a 2018 military agreement on Friday when it fired hundreds of artillery rounds along the sea boundary between the sovereign countries.