The first time that happened to me, I swore a bit, but then I took a few deep breaths, analysed what happened and learnt to deal with it. For me now, it's no problem.
If you drop out at the station or anywhere else when you get messages on your comms panel whilst doing missions, you can expect to see those ships dropping in in front of you. When you know they're coming, they're easy to avoid, but it's best not to drop out if the message is in red. OP effectively rammed them by aimlessly boosting at the station. They were both pointing at the station, so not their fault at all. That's the same as keeping your finger on the trigger while an innocent ship drifts into your line of fire while bounty hunting. No need to complain, learn from the experience and change your ways of doing it. I don't see anything broken. It's logical that ships that tell you they're coming are going to appear. We need these challenges to keep the game challenging. It's Elite Dangerous, not Elite Walk in the Park.
Away from the station, if you drop out anywhere, whether you're interdicted or not, and there's a message on your comms panel from a pirate or Fed saying he's onto something, you can expect him to spawn in front of you, but this time he'll be facing you, which makes him harder to avoid, but you have the best chance when you know he's coming. Often there's two in that situation, though never in line with each other, so you might hit one, but with shields, that's no problem. In my Asp, I have 3A shields with two A0 boosters.