MANILA — The government of the Philippines signed an agreement on Monday with the country’s largest Muslim rebel group that both sides say they hope will lessen the chronic violence and poverty that have plagued the southern island of Mindanao.