JNK-dependent cell cycle stalling in G2 promotes survival and senescence-like phenotypes in tissue stress