Personally, just going from what you say here, I wouldn't castrate a dog like this - not unless there was a v good medical reason to do so. As you say, if you castrate, dogs often lose more confidence. Sometimes that can just give them the push from being afraid and showing fear behaviour, to being more defensive (ie aggressive). But there might be some reason you want to castrate him that you haven't told us about?