I wouldn't ever dare (even as an adult) speak to and dictate to my mother, the way your daughter has spoken to you. And that's saying something because I was a complete shit at times.
Why an (at least) 18 year old thinks she can waltz into your home after being away at Uni and start ordering you about, I've no idea - but there must have been a precedent set here.
If I came back 'home' or visited my mothers home, started nagging her and ordering her about, to the point she left her own home just to feel comfortable herself, I'd be absolutely mortified and feel really bad.
Lets be honest OP, it's not a DD'S boyfriend problem you have, it's a DD problem.
She wants to stop that bossing people around rubbish, not many people will want to be around her if she carries on, never mind her own mother.
Why did her boyfriend need to come round as soon as she was at yours? Can she not cope a night with her mum, without him?
She sounds thoroughly unpleasant and tedious, and I'm not surprised you scarpered. Sounds like she needs to grow up, fast. Next time OP, try and stay put and tell her to go stay somewhere else she feels comfortable, because you're not comfortable with her behaviour.