A family court scheme aimed at resolving cases more quickly is being expanded with £12.5 million in funding.