French premier Jean Castex resigns