Chaotic Oscillations of 1D Wave Equation Due to a Generalized Nonlinear Energy-Decay Boundary Condition