Egypt passes law that allows Army personnel to contest elections