Alleged Brooklyn shopkeeper serial killer to get his head checked