I hate to break it to you
UK politicians have been a bunch of spoilt morons for years. You insisted they negotiate a bunch of important trade deals. WTF did you expect to happen?
By all means ask the EU for a refund. If they are tired of laughing at us, you might even get a polite reply along the lines of: "We've got the money, we're keeping it."