Train services have resumed on all rail lines in Inverclyde after engineering work was extended into a fifth day - but another closure is looming.