With LVP enabled you need to ground RB3 for normal operation. If this pin is left floating or
high it thinks the PIC is in programming mode, and will not execute your code.

Read section 12.17 in your data sheet and look at note 4 in the grey area.