DineEquity posts 1Q profit gain