Applebee’s owners OK sale to IHOP, paving way for turnaround plans