Swathes of Lancashire farmland are to be returned to nature as part of a pioneering land deal.