Invertibility of ideals in Prüfer extensions