Results 2 issues of Taisenki

In BOBYQA's bobyqb and trsbox algorithm, some state change not take effect beacuse of "break" just break the inner for-loop, not outer switch. This pull just deal with that.

BOBYQA in apache-math sometimes into infinite loop,this custom ver just fixed it based on FORTRAN code & MATH-621 。 The infinite loop sample can see HoltWintersModelSuite 。