"Keep your friends close, but your enemies closer"
He had him living there at the Tahoe estate. Fredo (who I maintain "didn't know") probably thought that Mike was being a nice guy and all was forgiven.
Little did he know that he was being kept there so Michael could keep an eye on him.