Inventing Good Heuristics by Relaxing Problems