Home visits by GPs will continue, the health secretary has said, despite family doctors saying they no longer have the capacity to provide them.