MPs to investigate nursing shortage