The U.K. government has said it will introduce legislation to make it easier for members of the public to secure litigation funding for complex claims.