Plans to squeeze five more flats into a former hospital have been thrown out after residents warned their street was plagued by dangerous parking.