Lagarde says Egypt has more to do to seal $12b loan