MJ, that warrents reporting!!
Controllers do make mistakes, they are human, however when they place someone at risk then that is unacceptable. I trust you had words! Especially as the instructor will have spoken to ATC and advised that it was a first solo.
It's almost as bad as IFR traffic being told to maintain visual seperation with the VFR circuit traffic