If I 140 is rejected then the EAD,AP and I 485 are rejected as well. If you have used EAD then ur H4 is no longer valid ! You will have to go out of the country and get H4 stamped.
So the recommendation is to keep H status alive till you get Greencard