Wanindu Hasaranga has been ruled out of the remainder of the ODI series against India due to an injury to his left hamstring.