Residual stresses in thin polymer films cause rupture and dominate early stages of dewetting