The owner of hotel chain Premier Inn has announced plans to cut 3,800 jobs as part of an overhaul of its restaurants.