A universal magnification theorem for higher-order caustic singularities