Labour frontbencher resigns in support of Gaza ceasefire