This is what I don't understand. If you came to the UK in May 2017, did you not have a EEA residence card at this time? If you did, you could have used that to re-enter the UK; if you did not, that is what you should have applied for, not a visitor's visa. You did not need to travel with your EU ...