Deal protects nearly 300 square miles of Minn. forest