Vic midwives made 'error of judgment'