Officials with Western Massachusetts hospitals on Tuesday predicted passage of a statewide referendum requiring a fixed ratio of nurses to patients would cost hospitals upwards of $40 million locally, and would likely lead to a reduction of services for patients, and could even threaten the ability of smaller hospitals to remain open.