The leaders of the federal Liberal and National parties have struck a deal to get the Coalition back together and return senior MPs to the front bench.