Plans to turn a former Dudley pub into a children’s home have been slammed by councillors as a safety risk.