Renormalization-group analysis of p-orbital Bose-Einstein condensates in a square optical lattice