It is hereby declared to be the legislative intent that if a court of competent jurisdiction declares any provisions of this chapter to be invalid or ineffective in whole or in part, the effect of such decision shall be limited to those provisions which are expressly stated in the decision to be invalid or ineffective, and all other provisions of this chapter shall continue to be separately and fully effective. Borough Council hereby declares that it would have passed this chapter and each section or part thereof, other than any part declared invalid, if it had advance knowledge that any part would be declared invalid.