The Public Accounts Committee has revealed how the Home Office wasted tens of millions on failed projects to house migrants.