French President Emmanuel Macron's office has announced a new cabinet line-up following months of political deadlock.