Got all my groundschool exams first time.....HOWEVER got partial passes in both my CPL and IR tests first time and completed the failed bits on the second flights in each case. I got a good TP job for 2 years and then my first jet job.
SO........I don't know for sure but I would guess airlines would regard a 1st time IR pass as the most "impressive" qualification for a low hours person followed by 1st time CPL pass, THEN groundschool exams. In short I would say as long as you don't need to continually repeat each element of the training most airlines will consider you with other low hours people. No problem in failing P of F one time I would say.