Egypt: minister resigns over filmed police beating